package com.demo.security.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * Entity类
 *
 * @author liyan
 * @since 2020-06-19 20:16:19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_role")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TRole implements Serializable {

    private static final long serialVersionUID=1L;


        @TableId(value = "id", type = IdType.AUTO)
                    private Long id;

    @TableField("role_name")
            private String roleName;

    @TableField("description")
            private String description;

    @TableField("create_time")
            private LocalDateTime createTime;

    @TableField("update_time")
            private LocalDateTime updateTime;

    @TableField("status")
            private Integer status;
}
